<?php
// +----------------------------------------------------------------------
// | sfadmin - Suifeng Administration
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2020 http://suifeng.tech All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: suifeng <1787585212@qq.com>
// +----------------------------------------------------------------------

namespace suifeng\builder\table\button;

class Create extends Button
{
    /**
     * 构造方法。
     *
     * @param string $config
     */
    public function __construct($config = array())
    {
        $this->title = '新建';
        $this->icon = 'fa fa-plus';
        $this->attributes['class'] = 'btn btn-primary';
        parent::__construct($config);
    }
}
